<template>
    <router-view v-slot="{ Component }">
        <component
            class="component-box"
            :is="Component"
            :key="route.fullPath"
        />
    </router-view>
</template>

<script lang="ts" setup>
// 此组件用不上
import { ref, onMounted, computed } from 'vue'
import { useRoute, useRouter } from 'vue-router'
const route = useRoute()
</script>

<style lang="scss" scoped></style>
